$OpenBSD: patch-config_config_perl_pl,v 1.2 2014/02/06 17:32:27 edd Exp $

Correctly detect install directory

--- config/config_perl.pl.orig2	Sat Jan 11 22:59:44 2014
+++ config/config_perl.pl	Mon Feb  3 10:19:35 2014
@@ -11,14 +11,5 @@ if ($ARGV[0] eq "PERL_INCLUDES") {
 	print "-I$archlib/CORE";
 }
 if ($ARGV[0] eq "PERL_INSTALL_DIR") {
-
-	my $d;
-
-	foreach $d (qw(installvendorarch vendorarch installsitearch sitearch)) {
-		if (exists($Config{$d}) and defined($Config{$d}) and
-			($Config{$d} ne '') ) {
-			print "$Config{$d}";
-			last;
-		}
-	}
+	print "$Config{installsitearch}";
 }
